@echo off

cd %~dp0

cd ..

set SORCE_DIR=app-framework
set WORK_DIR=%user_profile%\%SORCE_DIR%

echo clean up previous work directory ...
rmdir /S /Q %WORK_DIR%

echo copy files to %WORK_DIR%
xcopy /S /I %SORCE_DIR% %WORK_DIR%

cd %WORK_DIR%

call mvn -Dmaven.test.skip=true -o -s C:\Users\a487836\Work\Private\settings.xml clean install
pause 
